package com.jisf.driver.service;

import com.jisf.driver.entity.po.User;
import com.jisf.driver.response.Result;

/**
 * @Classname LoginService
 * @Description TODO
 * @Date 2022/4/7 12:44
 * @Created by jisf：【429627912@qq.com】
 */
public interface LoginService {

    /**
     * 用户登录
     * @param user
     * @return
     */
    Result<?> login(User user);

    /**
     * 退出登录
     * @return
     */
    Result<?> logout();
}
